package com.maybach.workflow.common.ext;

import com.maybach.workflow.common.api.FlowChain;
import com.maybach.workflow.common.api.node.TaskNode;
import com.maybach.workflow.common.model.FlowDO;
import com.maybach.workflow.common.model.FlowTaskDO;

/**
 * Created by houenxun on 15/10/29.
 */
public class   FlowTaskInfo {
    private FlowTaskDO flowTaskDO;
    private TaskNode taskNode;
    private FlowDO flowDO;
    private FlowChain flowChain;

    boolean isPermit; // 当前用户是否允许执行该任务

    public FlowTaskDO getFlowTaskDO() {
        return flowTaskDO;
    }

    public void setFlowTaskDO(FlowTaskDO flowTaskDO) {
        this.flowTaskDO = flowTaskDO;
    }

    public TaskNode getTaskNode() {
        return taskNode;
    }

    public void setTaskNode(TaskNode taskNode) {
        this.taskNode = taskNode;
    }

    public FlowDO getFlowDO() {
        return flowDO;
    }

    public void setFlowDO(FlowDO flowDO) {
        this.flowDO = flowDO;
    }

    public FlowChain getFlowChain() {
        return flowChain;
    }

    public void setFlowChain(FlowChain flowChain) {
        this.flowChain = flowChain;
    }

    public boolean isPermit() {
        return isPermit;
    }

    public void setPermit(boolean isPermit) {
        this.isPermit = isPermit;
    }
}
